﻿<UserControl x:Class="frmUnassignedCases"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Height="729" Width="1036" Background="Gray" 
             xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"  >
    <Grid>
        <GroupBox Header="View" Height="42" HorizontalAlignment="Left" Margin="10,1,0,0" Name="grpView" VerticalAlignment="Top" Width="339">
            <Grid>
                <RadioButton Margin="7,5,0,2" Name="radViewSales" HorizontalAlignment="Left" Width="98" IsChecked="True">Sales Consultant</RadioButton>
                <RadioButton Margin="119,6,118,1" Name="radViewCW">Caseworker</RadioButton>
                <RadioButton Margin="0,5,6,2" Name="radCaseCoordinator" HorizontalAlignment="Right" Width="105">Case Co-ordinator</RadioButton>
            </Grid>
        </GroupBox>
        <GroupBox Header="Consultant" Margin="355,1,490,0" Name="GroupBox1" Height="64" VerticalAlignment="Top">
            <Grid Width="155">
                <ComboBox Margin="20,20,17,1" Name="drpConName" Height="20" />
                <ComboBox Margin="20,0,17,24" Name="drpBranchCon" Height="20" />
            </Grid>
        </GroupBox>
        <GroupBox Header="Product Types" Margin="0,1,311,0" Name="GroupBox2" Height="50" HorizontalAlignment="Right" VerticalAlignment="Top" Width="169">
            <Grid Width="143">
                <ComboBox Margin="12,4,0,0" Name="drpProductTypes" Height="22" VerticalAlignment="Top" />
            </Grid>
        </GroupBox>
        <GroupBox Header="Cases" Margin="0,1,170,0" Name="GroupBox3" Height="50" VerticalAlignment="Top" HorizontalAlignment="Right" Width="137">
            <Grid Width="120" Height="36">
                <Label Margin="17,2,6,8" Name="lblRecords" BorderBrush="Black" BorderThickness="1" HorizontalContentAlignment="Center" Height="26">0</Label>
            </Grid>
        </GroupBox>
        <Button Height="21" HorizontalAlignment="Right" Margin="0,8,9,0" Name="btnClose" VerticalAlignment="Top" Width="62">Close</Button>
        <Button Height="21" HorizontalAlignment="Right" Margin="0,8,89,0" Name="btnRefresh" VerticalAlignment="Top" Width="62">Refresh</Button>
        <GroupBox Header="Unassigned Cases" Margin="10,61,9,307" Name="GroupBox4">
            <Grid>
                <Grid.Resources>
                    
                </Grid.Resources>
                <telerik:RadGridView AllowDrop="True" MultipleSelect="True"  AutoGenerateColumns="True" CanUserReorderColumns="True" CanUserResizeColumns="True" CanUserSortColumns="True" Margin="7,6,0,6" Name="grdCases" >
                  
                </telerik:RadGridView>
            </Grid>
        </GroupBox>
        <GroupBox Header="Selected Cases" Margin="10,0,9,12" Name="GroupBox5" Height="287" VerticalAlignment="Bottom">
            <Grid>
                <ComboBox BorderBrush="Black" Height="21" HorizontalAlignment="Left" Margin="4,32,0,0" Name="drpBranch" VerticalAlignment="Top" Width="150" />
                <Label BorderBrush="Black" BorderThickness="0" HorizontalAlignment="Left" Margin="2,3,0,239.8" Name="Label1" Width="57">Branches</Label>
                <ComboBox BorderBrush="Black" Height="21" HorizontalAlignment="Left" Margin="7,102,0,0" Name="drpAssignCon" VerticalAlignment="Top" Width="150" />
                <Label BorderBrush="Black" BorderThickness="0" Height="25" HorizontalAlignment="Left" Margin="4,75,0,0" Name="Label2" VerticalAlignment="Top" Width="69">Consultants</Label>
                <Button HorizontalAlignment="Left" Margin="7,0,0,46" Name="btnDelete" Width="147" Height="20.8" VerticalAlignment="Bottom">Delete Lead</Button>
                <Button Margin="7,129,829,118" Name="btnAssign">Assign</Button>
                <CheckBox Height="16" HorizontalAlignment="Left" Margin="7,0,0,84" Name="chkMoveTasks" VerticalAlignment="Bottom" Width="135">Move Scheduled Tasks</CheckBox>

                <ListView Margin="163,9.2,236,6" Name="lvwSelected">
                    <ListView.View >
                        <GridView Selector.IsSelected="true" >
                            <GridView.Columns>
                                <GridViewColumn Width="80" Header="Case" DisplayMemberBinding="{Binding Path=Case}" ></GridViewColumn>
                                <GridViewColumn Width="50" Header="Candidate" DisplayMemberBinding="{Binding Path=Candidate}"></GridViewColumn>
                                <GridViewColumn Width="50" Header="Nationality" DisplayMemberBinding="{Binding Path=Nationality}"></GridViewColumn>
                                <GridViewColumn Width="80" Header="Residence" DisplayMemberBinding="{Binding Path=Residence}" ></GridViewColumn>
                                <GridViewColumn Width="50" Header="Product" DisplayMemberBinding="{Binding Path=Product}"></GridViewColumn>
                                <GridViewColumn Width="50" Header="Destination" DisplayMemberBinding="{Binding Path=Destination}"></GridViewColumn>
                            </GridView.Columns>
                        </GridView>
                    </ListView.View>
                </ListView >
                <TextBox HorizontalAlignment="Right" IsReadOnly="True" FlowDirection="LeftToRight" TextWrapping="Wrap"  VerticalScrollBarVisibility="Auto" Margin="0,9.2,6,6" Name="lblEvent" Width="224" BorderBrush="Black" BorderThickness="1" Background="White"></TextBox>
                <ComboBox BorderBrush="Black" Height="21" HorizontalAlignment="Left" Margin="5,56,0,0" Name="drpDept" VerticalAlignment="Top" Width="150" />
            </Grid>
        </GroupBox>
    </Grid>
</UserControl>
